package cn.kinoko.model.user.constant;

import cn.kinoko.common.base.model.BaseEnum;
import lombok.Getter;

/**
 * 用户状态
 * @author kk
 * @date 2023/8/3 11:38
 */
@Getter
public enum IdentityTypeEnum implements BaseEnum<Integer> {

    PHONE_EMAIL(1, "手机号/邮箱"),
    WECHAT(2, "微信"),
    QQ(3, "QQ"),
    WEIBO(4, "微博"),
    GITHUB(5, "GitHub"),
    GITEE(6, "Gitee"),
    ;

    private final Integer code;
    private final String desc;

    IdentityTypeEnum(Integer code, String description) {
        this.code = code;
        this.desc = description;
    }

}
